package com.java并发编程.Fork_Join.RecursiveAction;

import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.ForkJoinTask;

public class RecursiveActionTest1 {

	public static void main(String[] args) throws Exception {
		ForkJoinPool pool = new ForkJoinPool();//任务池
		ForkJoinTask<Void> submit = pool.submit(new MyRecursiveAction1(1,10));
		Thread.sleep(Integer.MAX_VALUE);
	}
}
